// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import "babel-polyfill";
import Vue from "vue";
import App from "./App";
import router from "./router";

import "lib-flexible";

import "@/style/reset.scss";
import "./theme.js";
//vantui
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);
import { Lazyload} from 'vant'
Vue.use(Lazyload, {
  lazyComponent: true,
});
import VueWechatTitle from "vue-wechat-title";
import myTouch from '@/bin/myTouch'

myTouch(Vue)
//导入 http 文件夹下的 index.js
import api from "./http";
import "swiper/dist/css/swiper.css";
Vue.use(api);
Vue.use(VueWechatTitle);

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  components: {
    App
  }
});

